import axios from "axios";


const http = axios.create({
  baseURL:' https://mock.mengxuegu.com/mock/65615773a2e0ef03d866075a/lrrqyyds/admin',
  timeout:5000
})

export const loginApi = (data: any) => (
  http({
    url:'/login',
    method:'POST',
    data
  })
)

